<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <title>${SITE_NAME} - Powered by MinDoc</title>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="renderer" content="webkit">
    <meta name="author" content="Minho" />
    <meta name="site" content="https://www.iminho.me" />
    <meta name="description" content="{{.site_description}}">
    <!-- Bootstrap -->
    <link href="${request.contextPath}/bootstrap/css/bootstrap.min.css" rel="stylesheet">
    <link href="${request.contextPath}/font-awesome/css/font-awesome.min.css" rel="stylesheet">

    <link href="${request.contextPath}/css/main.css" rel="stylesheet">
    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
    <script src="${request.contextPath}/html5shiv/3.7.3/html5shiv.min.js"></script>
    <script src="${request.contextPath}/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
</head>
<body>
<div class="manual-reader manual-container">
    <#include "../widgets/header.ftl">
    <div class="container manual-body">
        <div class="row">
            <#if Labels?size gt 1000000>
            <div class="hide tag-container-outer">
                <span class="title">热门标签：</span>
                <span class="tags">
                    <#list Labels as item>
                    <a href="${request.contextPath}/tag/${item.labelName}">${item.labelName}<span class="detail">${item.bookNumber}</span></a>
                    </#list>
                </span>
            </div>
            </#if>

            <div class="manual-list">
                <#list Lists as item>
                    <div class="list-item">
                        <dl class="manual-item-standard">
                            <dt>
                                <a href="${request.contextPath}/docs/${item.identify}" title="${item.bookName}-${item.createName}" target="_blank">
                                    <img src="${request.contextPath}${item.cover}" class="cover" alt="${item.bookName}-${item.createName}" onerror="this.src='${request.contextPath}/images/book.jpg';">
                                </a>
                            </dt>
                            <dd>
                                <a href="${request.contextPath}/docs/${item.identify}" class="name" title="${item.bookName}-${item.createName}" target="_blank">${item.bookName}</a>
                            </dd>
                            <dd>
                            <span class="author">
                                <b class="text">作者</b>
                                <b class="text">-</b>
                                <b class="text"><#if item.realName == "">${item.createName}<#else>${item.realName}</#if></b>
                            </span>
                            </dd>
                        </dl>
                    </div>
                <#else>
                    <div class="text-center" style="height: 200px;margin: 100px;font-size: 28px;">暂无项目</div>
                </#list>
                <div class="clearfix"></div>
            </div>
            <nav class="pagination-container">
                <#if TotalPages gt 1>${PageHtml}</#if>
                <div class="clearfix"></div>
            </nav>
        </div>
    </div>
    <#include "../widgets/footer.ftl">
</div>
<script src="${request.contextPath}/jquery/1.12.4/jquery.min.js" type="text/javascript"></script>
<script src="${request.contextPath}/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
</body>
</html>